home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
New Perspectives on Computer Concepts
/
New Perspectives on Computer Concepts.iso
/
np2010c
/
F1241.ECS
< prev
next >
Wrap
Text File
|
2008-11-19
|
6KB
|
182 lines
|COPYRIGHT 2006 BY MEDIATECHNICS CORPORATION|HEADER|3|Running the Java Pizza Program|0|F1241.FLC|0|0|0|0|0|0|
|***|
|1|1|1|1|0|0|
|OPEN5.MID||0|0|1||0|
||0|0|0|0|F1241.BMP|5880|6425|4|1|
|1|0|0|0|0|1|1|0|0|0|0|1|1|0|0|0|0|1|1|0|0|0|0|1|0|0|0|0|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|2|1|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|3|1|1|20|0|0|
|F124101.WAV||0|0|1||1|
|To run the pizza program, simply type its name and then press the Enter key.|6510|2295|990|2265||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|4|1|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|5|2|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|6|3|1|15|0|0|
|F124102.WAV||0|0|1||1|
|The first prompt appears and waits for input.|6040|1665|630|2265||0|0|1|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|7|3|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|8|4|1|2|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|9|4|1|25|0|0|
|F124103.WAV||0|0|1||1|
|After responding to the prompt, pressing Enter tells the program that we're ready to move on.|6510|2295|1230|2265||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|10|4|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|11|5|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|12|5|1|20|0|0|
|F124104.WAV||0|0|1||1|
|We'll respond to the rest of the prompts for pizza 1 and pizza 2.|4455|3145|810|3135||0|0|3|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|13|5|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|3|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|14|6|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|15|7|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|16|8|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|17|9|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|18|10|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|19|11|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|20|12|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|21|13|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|22|14|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|23|15|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|24|16|1|2|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|25|16|1|30|0|0|
|F124105.WAV||0|0|1||1|
|When we've entered all of the data for both pizzas, pressing the Enter key tells the program to continue and tell us which pizza is the best deal.|5485|2835|1305|3135||0|0|1|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|26|16|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|27|17|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|28|17|1|15|0|0|
|F124106.WAV||0|0|1||1|
|After showing us the best deal, the program ends.|6510|2295|765|2295||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|29|17|1|1|0|0|
|||0|0|0||1|
||10|10|10|10||0|0|0|0|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|
|***|
|30|17|1|1|0|0|
|CLOSE5.MID||0|0|1||1|
||10|10|10|10|ANEND.BMP|4395|6920|4|1|
|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|1|10|10|10|10|1|10|10|10|10|
|0|0|1|0|0|1|0|0|1|0|0|1|